projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f55f544
)
* indent/ruby.rb: Fix an example, remove wrong example, and add two more.
author
Dmitry Gutov
<dgutov@yandex.ru>
Tue, 15 Oct 2013 01:21:22 +0000
(
04:21
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Tue, 15 Oct 2013 01:21:22 +0000
(
04:21
+0300)
test/indent/ruby.rb
patch
|
blob
|
history
diff --git
a/test/indent/ruby.rb
b/test/indent/ruby.rb
index 912648378c36cd45fc438dde9a06838758d9c392..ef89ebc1aa767d7d9b7c61f7fb72793ac11cc8a1 100644
(file)
--- a/
test/indent/ruby.rb
+++ b/
test/indent/ruby.rb
@@
-182,12
+182,9
@@
if foo &&
end
method !arg1,
- arg2
-
-method [],
arg2
-method
{:a => 1, :b => 2}
,
+method
[]
,
arg2
method :foo,
@@
-195,3
+192,11
@@
method :foo,
method (a + b),
c
+
+it "is a method call with block" do
+ foo
+end
+
+it("is too!") {
+ bar
+}